<template>
  <div>
    <h4 style="margin-bottom: 16px">Presets:</h4>
    <div>
      <div v-for="color in colors" :key="color">
        <CloudBadge :color="color" :text="color" />
      </div>
    </div>
    <h4 style="margin: 16px 0">Custom:</h4>
    <div>
      <CloudBadge color="#f50" text="#f50" />
      <br />
      <CloudBadge color="#2db7f5" text="#2db7f5" />
      <br />
      <CloudBadge color="#87d068" text="#87d068" />
      <br />
      <CloudBadge color="#108ee9" text="#108ee9" />
    </div>
  </div>
</template>

<script>
  const colors = [
    'pink',
    'red',
    'yellow',
    'orange',
    'cyan',
    'green',
    'blue',
    'purple',
    'geekblue',
    'magenta',
    'volcano',
    'gold',
    'lime',
  ];
  export default {
    title: '8.多彩徽标 ',
    subTitle: '1.5.0 后新增。我们添加了多种预设色彩的徽标样式，用作不同场景使用。如果预设值不能满足你的需求，可以设置为具体的色值。',
    data () {
      return {
        colors
      }
    },
    methods: {
    }
  }
</script>

<style lang="scss">
</style>